package scitc.alumni.service.Impl;

import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;
import scitc.alumni.model.User;
import scitc.alumni.repository.UserRepository;
import scitc.alumni.service.IUserService;

import java.util.List;

@Service
public class UserService implements IUserService {

    @Resource
    private UserRepository userRepository;

    @Override
    public List<User> findAll() {
        return userRepository.findAll();
    }

    @Override
    public User findUserByUsername(String username) {
        return null;
    }
}
